﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace Engine.Material
{
    public class MatLib
    {
        public static Dictionary<string, IShadder> MatLib;
        Material mat;

        public MatLib(ContentManager content )
        {
            MatLib.Add("Flat", new FlatShader(content));
            MatLib.Add("Metal", new MetalShader(content));
            MatLib.Add("Texture", new TextureShader(content));
            MatLib.Add("Stone", new StoneShader(content));
     
        }

        Material getMaterial(string name)
        {
            return MatLib[name];
        }

    }
}
